# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#

# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy
import json


class FruitItem(scrapy.Item):
    # define the fields for your item here like:
     id =scrapy.Field()
     name = scrapy.Field()
     kal= scrapy.Field()

class FruitEncoder(json.JSONEncoder):
	def default(self, obj):
		return json.JSONEncoder.default(self, obj)


class FruitImgItem(scrapy.Item):
    image_url = scrapy.Field()
    images = scrapy.Field()
    image_path=scrapy.Field()
    id=scrapy.Field()
